package notes.java.sjms23.t14_flyweight;

// 享元模式
// 具体享元类 
public class ConcreteBook implements Book{

	// 书名
	private String name;
	
	public ConcreteBook(String name) {
		this.name = name;
	}
	
	@Override
	public void get() {
		System.out.println("借出：" + this.name);
	}

}
